<?php
	require("../../DBops.php");
	session_start();
	$con = connect("localhost", "root", "", "lab");


$name=  $_GET["name"];
$intro=  $_GET["intro"];
$ID=$_GET['id'];

$exec="update projecteam set name='$name',introduction='$intro' where ID=$ID";  //整个字符串在双引号内，其中的变量会替换成值

$result=mysql_query($exec);
echo"<script>location.href='Team.php?teamid=$ID'</script>";


?>